package com.example.safeassistan.home.model;

public class DeviceDetailModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : {"id":"1393141199656566786","name":"设备1","code":"code","brand":"大的","version":null,"address":"1392300994208825345","color":"红","liablePerson":"1382155531203747841,1382245672823943169","personName":"李维修,李维修2号","departName":"厂房一"}
     * timestamp : 1623309617283
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * id : 1393141199656566786
         * name : 设备1
         * code : code
         * brand : 大的
         * version : null
         * address : 1392300994208825345
         * color : 红
         * liablePerson : 1382155531203747841,1382245672823943169
         * personName : 李维修,李维修2号
         * departName : 厂房一
         */

        private String id;
        private String name;
        private String code;
        private String brand;
        private String version;
        private String address;
        private String color;
        private String liablePerson;
        private String personName;
        private String departName;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public String getLiablePerson() {
            return liablePerson;
        }

        public void setLiablePerson(String liablePerson) {
            this.liablePerson = liablePerson;
        }

        public String getPersonName() {
            return personName;
        }

        public void setPersonName(String personName) {
            this.personName = personName;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }
    }
}
